<%@page import="com.etc.zzsys.service.UserService"%>
<%@page import="com.etc.zzsys.service.impl.UserServiceImpl"%>
<%@page import="com.etc.zzsys.entity.User"%>
<%@page import="java.util.List"%>
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	if(session.getAttribute("user") ==null){
		response.sendRedirect("login.html");
	}
	else{
		User u=(User)session.getAttribute("user");
	
%>

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">

<title>Dashboard Template for Bootstrap</title>

<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="css/dashboard.css" rel="stylesheet">

</head>

<body>

	<%@ include file="top.jsp" %> 

	<div class="container-fluid">
		<div class="row">
			<div class="col-sm-3 col-md-2 sidebar">
				<ul class="nav nav-sidebar">
					<li class="active"><a href="index.jsp">首页<span class="sr-only">(current)</span></a>
					</li>
					<li></span><a href="Userservlet?op=list">用户列表</span></a></li>
					<li><a href="addUsers.jsp">新增用户</a></li>
					<li><a href="#">Export</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><a href="qs?op=querylist">问题列表</a></li>
					<li><a href="qs?op=add">提出问题</a></li>
					<li><a href="">One more nav</a></li>
					<li><a href="">Another nav item</a></li>
					<li><a href="">More navigation</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><a href="as.do?op=query">答案管理</a></li>
					<li><a href="">One more nav</a></li>
					<li><a href="">Another nav item</a></li>
				</ul>
			</div>
			<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
				<h2 class="sub-header">系统说明</h2>
				<div>2018年9月14日12:11:24</div>
				<div>实现了用户列表展示和用户新增操作,均使用jsp技术完成.</div>
				<div>2018年9月15日12:11:24</div>
				<div>实现了用户列表展示和用户新增操作,使用jsp+servlet技术完成.</div>

			</div>
		</div>
	</div>

	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script src="js/bootstrap.min.js"></script>

</body>

</html>
<%
	}
%>